home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / SRC / HOARDDLL.ZIP / 3rdParty / hoard / libhoard-2.0.2 / INSTALL < prev    next >
Encoding:
Text File  |  2000-02-28  |  10.6 KB  |  285 lines

  1. ===========================================================================
  2.  
  3.           The Hoard Multiprocessor Memory Allocator
  4.             <http://www.hoard.org>
  5.  
  6.                by Emery Berger
  7.         <http://www.cs.utexas.edu/users/emery>
  8.  
  9.   Copyright (c) 1998, 1999, 2000, The University of Texas at Austin.
  10.  
  11. ---------------------------------------------------------------------------
  12. emery@cs.utexas.edu                | <http://www.cs.utexas.edu/users/emery>
  13. Department of Computer Sciences    |             <http://www.cs.utexas.edu>
  14. University of Texas at Austin      |                <http://www.utexas.edu>
  15. ===========================================================================
  16.  
  17.  
  18. Before You Start
  19. ================
  20.  
  21.    This version of Hoard provides a configure script which lets you
  22. build and conveniently install a shared-library version of Hoard.  You
  23. can also just build the object file using "make -f Makefile.orig" (see
  24. below for other platform-specific options). The advantages of the
  25. first method are that it is convenient to use the shared library
  26. version of the code (you might not even have to re-link your
  27. application) and it simplifies installation. The advantage of the
  28. second method is that the statically-linked version of Hoard is faster
  29. (the benchmarks in the benchmarks directory use this version).
  30.  
  31.  
  32. Supported systems:
  33. ==================
  34.  
  35.    To compile Hoard, you'll need the GNU version of make.
  36.  
  37.     * Solaris
  38.  
  39.         Compiles out of the box with
  40.             ./configure ; make
  41.         or
  42.             make -f Makefile.orig USE_SOLARIS=1
  43.  
  44.     To use Sun's workshop compilers, do this:
  45.         setenv CC cc
  46.         setenv CXX CC
  47.         ./configure ; make
  48.  
  49.     or
  50.         make -f Makefile.orig USE_SOLARIS=1 USE_WORKSHOP=1
  51.  
  52.     * Linux
  53.  
  54.         Compiles out of the box with
  55.             ./configure ; make
  56.         or
  57.             make -f Makefile.orig USE_LINUX=1
  58.  
  59.     * IRIX
  60.  
  61.         Compiles out of the box with
  62.             ./configure ; make
  63.         for the pthreads version.
  64.  
  65.         To build an sproc version, use
  66.              ./configure --enable-sproc; make
  67.         or
  68.             make -f Makefile.orig USE_SPROC=1
  69.  
  70.     * Windows NT
  71.  
  72.         Workspace and project files for Visual C++ 6.0
  73.         are included.
  74.  
  75.         To build under CygWin (http://sourceware.cygnus.com),
  76.              ./configure --enable-windowsnt
  77.         or
  78.             make -f Makefile.orig USE_WINDOWS=1
  79.  
  80.         Read the NOTES.Windows file for more information.
  81.  
  82.     * BeOS
  83.  
  84.         Use
  85.             make -f Makefile.orig USE_BEOS=1
  86.  
  87.         Read the NOTES.BeOS file for more information.
  88.  
  89.     * AIX
  90.  
  91.         Use
  92.             make -f Makefile.orig USE_AIX=1
  93.  
  94.  
  95.    The rest of this document is boilerplate information about the
  96. configuration and installation process.
  97.  
  98.  
  99. Basic Installation
  100. ==================
  101.  
  102.    The `configure' shell script attempts to guess correct values for
  103. various system-dependent variables used during compilation.  It uses
  104. those values to create a `Makefile' in each directory of the package.
  105. It may also create one or more `.h' files containing system-dependent
  106. definitions.  Finally, it creates a shell script `config.status' that
  107. you can run in the future to recreate the current configuration, a file
  108. `config.cache' that saves the results of its tests to speed up
  109. reconfiguring, and a file `config.log' containing compiler output
  110. (useful mainly for debugging `configure').
  111.  
  112.    If you need to do unusual things to compile the package, please try
  113. to figure out how `configure' could check whether to do them, and mail
  114. diffs or instructions to the address given in the `README' so they can
  115. be considered for the next release.  If at some point `config.cache'
  116. contains results you don't want to keep, you may remove or edit it.
  117.  
  118.    The file `configure.in' is used to create `configure' by a program
  119. called `autoconf'.  You only need `configure.in' if you want to change
  120. it or regenerate `configure' using a newer version of `autoconf'.
  121.  
  122. The simplest way to compile this package is:
  123.  
  124.   1. `cd' to the directory containing the package's source code and type
  125.      `./configure' to configure the package for your system.  If you're
  126.      using `csh' on an old version of System V, you might need to type
  127.      `sh ./configure' instead to prevent `csh' from trying to execute
  128.      `configure' itself.
  129.  
  130.      Running `configure' takes awhile.  While running, it prints some
  131.      messages telling which features it is checking for.
  132.  
  133.      ******************************************************************
  134.      If you want to compile for Windows NT under CygWin
  135.      (http://sourceware.cygnus.com/cygwin), use the --enable-windowsnt
  136.      option.
  137.      ******************************************************************
  138.  
  139.   2. Type `make' to compile the package.
  140.  
  141.   3. Optionally, type `make check' to run any self-tests that come with
  142.      the package.
  143.  
  144.   4. Type `make install' to install the programs and any data files and
  145.      documentation.
  146.  
  147.   5. You can remove the program binaries and object files from the
  148.      source code directory by typing `make clean'.  To also remove the
  149.      files that `configure' created (so you can compile the package for
  150.      a different kind of computer), type `make distclean'.  There is
  151.      also a `make maintainer-clean' target, but that is intended mainly
  152.      for the package's developers.  If you use it, you may have to get
  153.      all sorts of other programs in order to regenerate files that came
  154.      with the distribution.
  155.  
  156. Compilers and Options
  157. =====================
  158.  
  159.    Some systems require unusual options for compilation or linking that
  160. the `configure' script does not know about.  You can give `configure'
  161. initial values for variables by setting them in the environment.  Using
  162. a Bourne-compatible shell, you can do that on the command line like
  163. this:
  164.      CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
  165.  
  166. Or on systems that have the `env' program, you can do it like this:
  167.      env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
  168.  
  169. Compiling For Multiple Architectures
  170. ====================================
  171.  
  172.    You can compile the package for more than one kind of computer at the
  173. same time, by placing the object files for each architecture in their
  174. own directory.  To do this, you must use a version of `make' that
  175. supports the `VPATH' variable, such as GNU `make'.  `cd' to the
  176. directory where you want the object files and executables to go and run
  177. the `configure' script.  `configure' automatically checks for the
  178. source code in the directory that `configure' is in and in `..'.
  179.  
  180.    If you have to use a `make' that does not supports the `VPATH'
  181. variable, you have to compile the package for one architecture at a time
  182. in the source code directory.  After you have installed the package for
  183. one architecture, use `make distclean' before reconfiguring for another
  184. architecture.
  185.  
  186. Installation Names
  187. ==================
  188.  
  189.    By default, `make install' will install the package's files in
  190. `/usr/local/bin', `/usr/local/man', etc.  You can specify an
  191. installation prefix other than `/usr/local' by giving `configure' the
  192. option `--prefix=PATH'.
  193.  
  194.    You can specify separate installation prefixes for
  195. architecture-specific files and architecture-independent files.  If you
  196. give `configure' the option `--exec-prefix=PATH', the package will use
  197. PATH as the prefix for installing programs and libraries.
  198. Documentation and other data files will still use the regular prefix.
  199.  
  200.    In addition, if you use an unusual directory layout you can give
  201. options like `--bindir=PATH' to specify different values for particular
  202. kinds of files.  Run `configure --help' for a list of the directories
  203. you can set and what kinds of files go in them.
  204.  
  205.    If the package supports it, you can cause programs to be installed
  206. with an extra prefix or suffix on their names by giving `configure' the
  207. option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
  208.  
  209. Optional Features
  210. =================
  211.  
  212.    Some packages pay attention to `--enable-FEATURE' options to
  213. `configure', where FEATURE indicates an optional part of the package.
  214. They may also pay attention to `--with-PACKAGE' options, where PACKAGE
  215. is something like `gnu-as' or `x' (for the X Window System).  The
  216. `README' should mention any `--enable-' and `--with-' options that the
  217. package recognizes.
  218.  
  219.    For packages that use the X Window System, `configure' can usually
  220. find the X include and library files automatically, but if it doesn't,
  221. you can use the `configure' options `--x-includes=DIR' and
  222. `--x-libraries=DIR' to specify their locations.
  223.  
  224. Specifying the System Type
  225. ==========================
  226.  
  227.    There may be some features `configure' can not figure out
  228. automatically, but needs to determine by the type of host the package
  229. will run on.  Usually `configure' can figure that out, but if it prints
  230. a message saying it can not guess the host type, give it the
  231. `--host=TYPE' option.  TYPE can either be a short name for the system
  232. type, such as `sun4', or a canonical name with three fields:
  233.      CPU-COMPANY-SYSTEM
  234.  
  235. See the file `config.sub' for the possible values of each field.  If
  236. `config.sub' isn't included in this package, then this package doesn't
  237. need to know the host type.
  238.  
  239.    If you are building compiler tools for cross-compiling, you can also
  240. use the `--target=TYPE' option to select the type of system they will
  241. produce code for and the `--build=TYPE' option to select the type of
  242. system on which you are compiling the package.
  243.  
  244. Sharing Defaults
  245. ================
  246.  
  247.    If you want to set default values for `configure' scripts to share,
  248. you can create a site shell script called `config.site' that gives
  249. default values for variables like `CC', `cache_file', and `prefix'.
  250. `configure' looks for `PREFIX/share/config.site' if it exists, then
  251. `PREFIX/etc/config.site' if it exists.  Or, you can set the
  252. `CONFIG_SITE' environment variable to the location of the site script.
  253. A warning: not all `configure' scripts look for a site script.
  254.  
  255. Operation Controls
  256. ==================
  257.  
  258.    `configure' recognizes the following options to control how it
  259. operates.
  260.  
  261. `--cache-file=FILE'
  262.      Use and save the results of the tests in FILE instead of
  263.      `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
  264.      debugging `configure'.
  265.  
  266. `--help'
  267.      Print a summary of the options to `configure', and exit.
  268.  
  269. `--quiet'
  270. `--silent'
  271. `-q'
  272.      Do not print messages saying which checks are being made.  To
  273.      suppress all normal output, redirect it to `/dev/null' (any error
  274.      messages will still be shown).
  275.  
  276. `--srcdir=DIR'
  277.      Look for the package's source code in directory DIR.  Usually
  278.      `configure' can determine that directory automatically.
  279.  
  280. `--version'
  281.      Print the version of Autoconf used to generate the `configure'
  282.      script, and exit.
  283.  
  284. `configure' also accepts some other, not widely useful, options.
  285.